package com.aftersale.demo.service;

import com.aftersale.demo.entity.Result;
import com.aftersale.demo.entity.Role;
import com.aftersale.demo.entity.RolePermission;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

/**
 *
 */
public interface RoleService extends IService<Role> {
    Result getRolePermission(Integer pageNum, Integer pageSize);

    Result addRole(Role role);

    Result deleteRole(int roleId);

    Result updateRole(Role role);


    Result getRole();

    Result selectRolePermission(String roleName, Integer pageNum, Integer pageSize);
}
